package com.yugu.park.business.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName t_admission_record
 */
@TableName(value ="t_admission_record")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdmissionRecord implements Serializable {
    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 
     */
    @ApiModelProperty(value = "年卡ID")
    private String cardId;

    /**
     * 
     */
    @ApiModelProperty(value = "出园时间")
    @JsonFormat( pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date outTime;

    /**
     * 
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 
     */
    @ApiModelProperty(value = "入园时间")
    @JsonFormat( pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inTime;

    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}